package jfox.platform.organization.bo;

import java.util.List;

import jfox.platform.organization.entity.Company;

/**
 * @author <a href="mailto:ren.yingb@gmail.com">Ren Yingbo</a>
 */
public interface CompanyBO {

	void newCompany(Company company);
	 /**
     * sheshengdian 新增 根据部门增加单位
     * @param company
     */
	void newCompanyByDepartment(Company company);

	void deleteCompany(long id);
	
	void updateCompany(Company company);
	
	void updateCompanyByDepartment(Company company);
	
	Company getCompanyById(long id);
	
	List<Company> getAllCompanys();
		
}
